<html>

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title> - 用户注册</title>
        <meta name="keywords" content="">
        <meta name="description" content="">

        <link rel="shortcut icon" href="favicon.ico">

        <link href="assets/home/css/bootstrap.min.css" rel="stylesheet">
        <link href="assets/home/css/font-awesome.min.css" rel="stylesheet">

        <link href="assets/home/css/plugins/animate.css" rel="stylesheet">
        <link href="assets/home/css/plugins/style.css?v=4.1.0" rel="stylesheet">
        <style>
            .lockscreen.middle-box {
                width: 300px;
            }

            .fadeInDown p {
                text-align: left;
                padding-top: 10px;

            }

        </style>
    </head>

    <body class="gray-bg">

        <div class="lock-word animated fadeInDown">
        </div>
        <div class="middle-box text-center lockscreen animated fadeInDown" style="padding-top: 40px;">
            <div>
                <div class="m-b-md">
                    <img alt="image" class="img-circle circle-border" src="assets/home/img/a1.jpg">
                </div>
                <h3>Beaut-zihan</h3>
                <!-- <p>您需要再次输入密码</p>background: #66ccff; -->
                <form class="m-t" role="form" action="/user/register" method="post">
                    @if(count($errors)>0)
                    <div class="alert alert-danger">
                        <ul>
                            @foreach($errors->all() as $error)
                            <li>{{$error}}</li>
                            @endforeach
                        </ul>
                    </div>
                    @endif
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="请输入账号" required="" name="user">
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" placeholder="请输入密码" required="" name="passwd">
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" placeholder="请再次输入密码" required="" name="passwd2">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="请输入昵称" required="" name="name">
                    </div>
                    <div class="form-group">
                        <input type="email" class="form-control" placeholder="请输入邮箱" required="" name="email">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="请输入邀请码 (若无可不填)" value="{{$pid}}"
                            name="code">
                    </div>

                    <button type="submit" class="btn btn-primary block full-width">注 册</button>
                    <p><a href="/login.html"> 已有账号点击登录</a></p>
                </form>
            </div>
        </div>

        <script type="text/javascript" src="assets/home/js/jquery-3.4.1.min.js"></script>
        <script type="text/javascript" src="assets/home/js/bootstrap.min.js"></script>

    </body>

</html>
